.k-search{
    max-width: 640px;
    margin: 0 auto;
    background: #f8f8f8;
    position: relative;
}
.k-search.on-focus{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.k-header ~ .k-content .k-search.on-focus{
    top: 2.3rem;
}
.k-navbar ~ .k-content .k-search.on-focus{
    bottom: 2.5rem;
}
.k-search > .k-search-form{
    display: flex;
    height: 2.3rem;
    align-items: center;
}
.k-search > .k-search-form > .k-search-input-wrap{
    flex: 1;
    position: relative;
    padding: 0 .5rem;
}
.k-search > .k-search-form > .k-search-cancel{
    flex: 0 0 2.2rem;
    padding-right: .5rem;
    text-align: center;
    font-size: .7rem;
    display: none;
}

.k-search.on-focus > .k-search-form > .k-search-cancel{
    display: block;
}
.k-search .k-search-icon{
    position: absolute;
    height: .8rem;
    line-height: .8rem;
    font-size: .7rem;
    left: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #ccc;
}
.k-search .k-search-input{
    box-sizing: border-box;
    width: 100%;
    height: 1.6rem;
    border: none;
    font-size: .8rem;
    padding-left: 1.5rem;
    background: #fff;
    border-radius: .2rem;
}
.k-search .k-search-clear{
    position: absolute;
    height: .8rem;
    line-height: .8rem;
    width: .8rem;
    font-size: .6rem;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 1rem;
    border-radius: 50%;
    color: #fff;
    background: #ccc;
    display: none;
}
.k-search.on-focus .k-search-input:valid + .k-search-clear{
    display: block;
}

.k-search > .k-search-suggest{
    width: 100%;
    max-width: 640px;
    position: absolute;
    top: 2.3rem;
    z-index: 200;
    display: none;
 }
 .k-search.on-focus > .k-search-suggest{
     display: block;
 }
 .k-search > .k-search-suggest > .k-suggest-item{
     padding-left: 1rem;
     height: 2rem;
     line-height: 2rem;
     font-size: .8rem;
     background: #fff;
     border-bottom: 1px solid #eee;
     color: #333;
 }
















